import requestTypes from '../common';

// 发送邮件
const emailSendEmail = <T = any>(parameter: object = {}) => {
	return requestTypes<T>({
		url: '/email/sendEmail',
		method: 'post',
		data: parameter,
	});
}
// 发送html邮件
const emailSendEmailHtml = <T = any>(parameter: object = {}) => {
	return requestTypes<T>({
		url: '/email/sendEmailHtml',
		method: 'post',
		data: parameter,
	});
}


export default {
    emailSendEmail,
    emailSendEmailHtml,
	
}